package com.hfkh;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class CodeFor {
    public static void main(String[] args) {
        for (int i = 1; i <= 9; i++) {
            for (int j = 1;j <= i;j++){
                System.out.print(i+"×"+j+"="+i*j+"\t");
            }
            System.out.println();
        }
        System.out.println("====================");


        for (int i = 0; i <5 ; i++) {
            for (int j = 0; j < 4-i; j++) {
                System.out.print(" ");
            }
            for (int j = 0; j < 6; j++) {
                System.out.print("*");
            }
            System.out.println();
        }











        System.out.println("=====================");
        int y = 0;
        for (int i = 1; i < 6; i++) {
            y++;
            for (int j = 0; j < 6-i; j++) {
                System.out.print(" ");
            }
            for (int k = 1; k <= 2*i-1; k++) {
                System.out.print(y);
            }
            System.out.println();
        }

    }

}
